.type-box {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.nav {
  padding: 0 10rpx;
  box-sizing: border-box;
  height: 80rpx;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 80rpx;
  background: #f7f7f7;
  font-size: 16px;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
}
.nav-item {
  width: 20%;
  display: inline-block;
  text-align: center;
  border-radius: 10rpx;
}
.nav-item.active{
  transition: 0.5s linear;
  color: #7799FF;
  font-size: larger;
}
.tab-box{
  background: #eee;
  padding-top: 80rpx;
  height:100vh;
  box-sizing: border-box;
}
.tab-content{
  overflow-y: scroll;
}
.category-right-container {
  display: grid;
  margin-top: 20rpx;
  grid-template-columns: auto auto auto;
}

.category-right-container .category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20rpx;
}

.category-right-container .category-item image {
  width: 168rpx;
  height: 208rpx;
}

.category-right-container .category-item text {
  width: 168rpx;
  margin-top: 10rpx;
  color: #333333;
  font-size: 26rpx;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

}